package com.atguigu.spzx.model.entity.sys;

import com.atguigu.spzx.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class SysMenu extends BaseEntity {
    private Long parentId;
    private String title;
    @Schema(description = "组件名称：前端使用的字段 加载展示动态菜单时使用")
    private String component;
    @Schema(description = "自己组内的菜单排序值")
    private Integer sortValue;
    private Integer status;
    @Schema(description = "当前菜单的子菜单")
    private List<SysMenu> children;
    private String name;
}
